home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
Sharks' Spark Hack
/
SparksWindow.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-21
|
412b
|
22 lines
#ifndef _APPLICATION_H
#include <Application.h>
#endif
#ifndef SPARKS_WINDOW_H
#include "SparksWindow.h"
#endif
SparksWindow::SparksWindow(BRect frame)
: BWindow(frame, NULL, B_TITLED_WINDOW,
B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_NOT_MOVABLE |
B_WILL_ACCEPT_FIRST_CLICK
, B_ALL_WORKSPACES )
{
}
bool SparksWindow::QuitRequested()
{
be_app->PostMessage(B_QUIT_REQUESTED);
return(TRUE);
}